package com.pig4cloud.pig.module.api.entity.devices;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 devices_egg_cell
 *
 * @author ruoyi
 * @date 2022-01-06
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("devices_egg_cell")
public class DevicesEggCell implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 格子编号从1开始
     */
    private Long cellIndex;

    /**
     * 格子状态  0 - 空的 1 - 有鸡蛋
     */
    private Long state;

    /**
     * 当前格子里鸡蛋的数量
     */
    private Long eggCount;

}
